Add ability to print in number-up mode for file backend and lpr backend
authorMarek Kasik <mkasik@redhat.com>
Wed, 13 May 2009 16:28:42 +0000 (18:28 +0200)
committerMarek Kasik <mkasik@redhat.com>
Wed, 13 May 2009 16:28:42 +0000 (18:28 +0200)
commit91190ce281b562d0f37d8181d9766e09e3c57558
treef526535d4239732c1f2a231740bc81f72b4e79d5
parent26c10075f95268ed2d8dbfacadeb1cdc0f559da6
Add ability to print in number-up mode for file backend and lpr backend

GtkPrintOperation is now able to render multiple pages per sheet by its
own. The most important changes are in these functions:
  * increment_page_sequence
  * prepare_data
  * common_render_page
  * print_pages_idle
Patch also changes set of choices for 2 pages per sheet mode when
landscape orientation is used to "Top to bottom" and "Bottom to top".
gtk/gtkprintjob.c
gtk/gtkprintjob.h
gtk/gtkprintoperation-private.h
gtk/gtkprintoperation-unix.c
gtk/gtkprintoperation-win32.c
gtk/gtkprintoperation.c
gtk/gtkprintunixdialog.c
modules/printbackends/cups/gtkcupsutils.c
modules/printbackends/file/gtkprintbackendfile.c
modules/printbackends/lpr/gtkprintbackendlpr.c